package org.creativor.rayson.client;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import org.creativor.rayson.api.AsyncRpcProtocol;
import org.creativor.rayson.api.RpcProtocol;
import org.creativor.rayson.api.TransferArgument;
import org.creativor.rayson.api.TransferSocket;
import org.creativor.rayson.demo.proxy.DemoTransferArgument;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The class <code>ClientTest</code> contains tests for the class
 * <code>{@link Client}</code>.
 * <p>
 * Copyright Creativor Studio (c) 2011
 * 
 * @generatedBy CodePro at 11-5-7 上午3:16
 * @author Nick Zhang
 * @version $Revision: 1.0 $
 */
public class ClientTest
{
	/**
	 * Launch the test.
	 * 
	 * @param args
	 *            the command line arguments
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	public static void main(String[] args)
	{
		new org.junit.runner.JUnitCore().run(ClientTest.class);
	}
	
	/**
	 * Perform pre-test initialization.
	 * 
	 * @throws Exception
	 *             if the initialization fails for some reason
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Before
	public void setUp() throws Exception
	{
		// TODO: add additional set up code here
	}
	
	/**
	 * Perform post-test clean-up.
	 * 
	 * @throws Exception
	 *             if the clean-up fails for some reason
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@After
	public void tearDown() throws Exception
	{
		// TODO: add additional tear down code here
	}
	
	/**
	 * Run the Client() constructor test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testClient_1() throws Exception
	{
		
		Client result = new Client();
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the Client() constructor test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testClient_2() throws Exception
	{
		
		Client result = new Client();
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_1() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.lang.IllegalArgumentException.class)
	public void testCreateAsyncProxy_10() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = null;
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_2() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_3() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_4() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_5() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_6() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_7() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateAsyncProxy_8() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the AsyncRpcProtocol
	 * createAsyncProxy(String,Class<T>,InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.lang.IllegalArgumentException.class)
	public void testCreateAsyncProxy_9() throws Exception
	{
		Client fixture = new Client();
		String serviceName = null;
		Class<AsyncRpcProtocol> proxyInterface = AsyncRpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		AsyncRpcProtocol result =
				fixture.createAsyncProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_1() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.lang.IllegalArgumentException.class)
	public void testCreateRpcProtocol_10() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = null;
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_2() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_3() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_4() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_5() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_6() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_7() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testCreateRpcProtocol_8() throws Exception
	{
		Client fixture = new Client();
		String serviceName = "";
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol createRpcProxy(String,Class<T>,InetSocketAddress)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.lang.IllegalArgumentException.class)
	public void testCreateRpcProtocol_9() throws Exception
	{
		Client fixture = new Client();
		String serviceName = null;
		Class<RpcProtocol> proxyInterface = RpcProtocol.class;
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.createRpcProxy(serviceName, proxyInterface, serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol getServerProxy(InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testGetServerProxy_1() throws Exception
	{
		Client fixture = new Client();
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.getServerProxy(serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the RpcProtocol getServerProxy(InetSocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testGetServerProxy_2() throws Exception
	{
		Client fixture = new Client();
		InetSocketAddress serverAddress = new InetSocketAddress(1);
		
		RpcProtocol result = fixture.getServerProxy(serverAddress);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the byte getVersion() method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testGetVersion_1() throws Exception
	{
		
		byte result = Client.getVersion();
		
		// TODO: add additional test code here
		assertEquals((byte) 1, result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.lang.IllegalArgumentException.class)
	public void testOpenTransferSocket_1() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		TransferArgument argument = null;
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.lang.IllegalArgumentException.class)
	public void testOpenTransferSocket_2() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = null;
		TransferArgument argument = new DemoTransferArgument("");
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.net.ConnectException.class)
	public void testOpenTransferSocket_3() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		TransferArgument argument = new DemoTransferArgument("");
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.net.ConnectException.class)
	public void testOpenTransferSocket_4() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		TransferArgument argument = new DemoTransferArgument("");
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.net.ConnectException.class)
	public void testOpenTransferSocket_5() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		TransferArgument argument = new DemoTransferArgument("");
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.net.ConnectException.class)
	public void testOpenTransferSocket_6() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		TransferArgument argument = new DemoTransferArgument("");
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.net.ConnectException.class)
	public void testOpenTransferSocket_7() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		TransferArgument argument = new DemoTransferArgument("");
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the TransferSocket openTransferSocket(SocketAddress,TransferArgument)
	 * method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.net.ConnectException.class)
	public void testOpenTransferSocket_8() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		TransferArgument argument = new DemoTransferArgument("");
		
		TransferSocket result = fixture.openTransferSocket(serverAddress, argument);
		
		// TODO: add additional test code here
		assertNotNull(result);
	}
	
	/**
	 * Run the void ping(SocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = org.creativor.rayson.exception.NetWorkException.class)
	public void testPing_1() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		
		fixture.ping(serverAddress);
		
		// TODO: add additional test code here
	}
	
	/**
	 * Run the void ping(SocketAddress) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = org.creativor.rayson.exception.NetWorkException.class)
	public void testPing_2() throws Exception
	{
		Client fixture = new Client();
		SocketAddress serverAddress = new InetSocketAddress(1);
		
		fixture.ping(serverAddress);
		
		// TODO: add additional test code here
	}
	
	/**
	 * Run the void start() method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test
	public void testStart_1() throws Exception
	{
		Client fixture = new Client();
		
		fixture.start();
		
		// TODO: add additional test code here
	}
	
	/**
	 * Run the void start() method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:16
	 */
	@Test(expected = java.lang.IllegalThreadStateException.class)
	public void testStart_2() throws Exception
	{
		Client fixture = new Client();
		
		fixture.start();
		
		// TODO: add additional test code here
	}
}
